﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GroupEdit.aspx.cs" Inherits="BBS_BbsManage_GroupEdit" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>讨论组息维护</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
	<!--#include file="../../Js/KeyControl.js"-->
	
	<base target="_self" />	
	<script type="text/javascript" language="JavaScript">		 
		function CheckFormMenu()
		{		   
			if(document.form1.GroupName.value == "")
			{
				alert("请输入名称！");
				document.form1.GroupName.focus();
				return false;
			}	
		  
		   var btnSave=window.document.getElementById("btnSave");
		   if(btnSave!=null)
		   btnSave.click();
		}
			
	</script>
</head>
<body  bgcolor="#eefbff" >
	<% 
		Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
		Response.Expires = 0;
		Response.CacheControl = "no-cache";
	%>
    <form  id="form1" runat="server" onsubmit="return CheckForm();" method="post" enctype="multipart/form-data"> 
   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td width="100%" class="font12w"><img src="../../images/title_menu.gif" alt=""/></td>
	</tr>
   </table>
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="327AC6">
  <tr style ="background-color :#ECF4FD">
	<td align="right">讨论组名称：</td>
	<td><asp:TextBox ID="GroupName" runat="server" MaxLength="50" Width="520px"></asp:TextBox><font color="red">*</font></td>
  </tr >
  <tr style ="background-color :#ECF4FD">
	<td align="right">描述：</td>
	<td>
	    <asp:TextBox ID="Descr"  runat="server" TextMode="MultiLine">&nbsp;</asp:TextBox>
	</td>
  </tr>
  <tr  style ="background-color :#ECF4FD">
	<td align="right">排序：</td>
	<td><asp:TextBox ID="Ord" runat="server" MaxLength="5" Width="80px"></asp:TextBox></td>
  </tr >
  <tr style ="background-color :#ECF4FD">
	<td align="right">是否有效：</td>
	<td><asp:dropdownlist id="Visiable" tabIndex="6" runat="server" Enabled="true" Width="60px">			
			 <asp:ListItem Value="1" Selected ="true" >是</asp:ListItem>
			 <asp:ListItem Value="0">否</asp:ListItem>
		  </asp:dropdownlist></td>
  </tr >
  <tr>
	<td height="36" colspan="4" bgcolor="ecf4fd">
		<div align="center">
			<asp:Button ID="btnSave" runat="server" Text="提交" Width="0px" Height="0px" BackColor="White"
				BorderColor="White" ForeColor="White" OnClick="btnSave_Click" />
			&nbsp;&nbsp;&nbsp;
			<input type="button" id="Button1" value="提交" class="button02" onclick="CheckFormMenu();" />
			<input type="button" id="btnClose" value="关闭" class="button02" onclick="window.location.href='GroupList.aspx'" />
		</div>
	</td>
	</tr>
</table>
    </form>
</body>
</html>
